How Stable Diffusion Works